package designPatterns.builderPatterns;

public class Test {
	public static void main(String[] args) {
		Builder builder = new MacbookBuilder();
		Director director = new Director(builder);
		director.construct("英特尔主板", "三星显示器");
		System.out.println(builder.create().toString());

//		new Director(new MacbookBuilder()).construct("英特尔主板", "三星显示器");
//		System.out.println(builder.create().toString());
	}

	public static void mainOkhttp() {
//		OkHttpClient client = new OkHttpClient.Builder()
//				.readTimeout()
//				.connectTimeout()
//				.addInterceptor()
//				.build();

	}
}
